export default {
  state: {
    count: 1,
    num: 1,
  },
  getters: {
    nums2(state) {
      console.log(state);
      return state.num
    }
  },
  mutations: {
    increment(state) {
      state.count = state.count + 1;
    },
    dataNum(state, val) {
      console.log(state, val);
      state.num = `${state.num}+${val}`;
    }
  }
}
/**

 * */

